<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
       span{
            width: 400px;
            height: 160px;
            color: brown;
            background: pink;
            font-size: 30px;
            background-color: hwb(65 6% 0%);     
            display: flex;
            text-align: center;
            line-height: 160px;
            font-weight: bolder;
            font-style: italic;
            text-decoration: line-through;
            text-indent: 2em;
            text-overflow: ellipsis;
            white-space: nowrap;  
            /* overflow: hidden; */
        }
        a{
            text-decoration: none;
            color: blue;
        }
    </style>
</head>
<body>
        <span>测试文本样式测试文本样式测试文本样式测试文本样式</span>
        <a href="https://www.baidu.com">百度</a>
</body>
</html>